		$(function(){	
			$(".lobipanel").each(function(){
				var id = this.id;
				var index = id.toString().lastIndexOf("-");
				var subIndex = id.substring(index + 1);
				
				 $('#lobipanel-'+ subIndex +'-font-awesome').lobiPanel({
					reload: {
						icon: 'fa fa-refresh'
					},
					editTitle: {
						icon: 'fa fa-edit',
						icon2: 'fa fa-save'
					},
					unpin: {
						icon: 'fa fa-arrows'
					},
					minimize: {
						icon: 'fa fa-chevron-up',
						icon2: 'fa fa-chevron-down'
					},
					close: {
						icon: 'fa fa-times-circle'
					},
					expand: {
						icon: 'fa fa-expand',
						icon2: 'fa fa-compress'
					}
				});
				$('#lobipanel-'+ subIndex +'-constrain-size').lobiPanel({
					minWidth: 300,
					minHeight: 300,
					maxWidth: 600,
					maxHeight: 480
				});
								
				 $('#lobipanel-multiple-' + subIndex).find('.panel').lobiPanel({
					reload:false,
					unpin:false,
					editTitle:false,
					expand:false,
					sortable: false,
				});
			});
			
			$(".lobipanel-report").each(function(){
				var id = this.id;
				var index = id.toString().lastIndexOf("-");
				var subIndex = id.substring(index + 1);
				
				 $('#lobipanel-report-'+ subIndex +'-font-awesome').lobiPanel({
					reload: {
						icon: 'fa fa-refresh'
					},
					editTitle: {
						icon: 'fa fa-edit',
						icon2: 'fa fa-save'
					},
					unpin: {
						icon: 'fa fa-arrows'
					},
					minimize: {
						icon: 'fa fa-chevron-up',
						icon2: 'fa fa-chevron-down'
					},
					close: {
						icon: 'fa fa-times-circle'
					},
					expand: {
						icon: 'fa fa-expand',
						icon2: 'fa fa-compress'
					}
				});
				$('#lobipanel-report-'+ subIndex +'-constrain-size').lobiPanel({
					minWidth: 300,
					minHeight: 300,
					maxWidth: 600,
					maxHeight: 480
				});
								
				 $('#lobipanel-multiple-report-' + subIndex).find('.panel').lobiPanel({
					reload:false,
					unpin:false,
					editTitle:false,
					expand:false,
					sortable: false,
				});
			});
        
			$(".lobipanel-org_chart").each(function(){
				var id = this.id;
				var index = id.toString().lastIndexOf("-");
				var subIndex = id.substring(index + 1);
				
				 $('#lobipanel-org_chart-'+ subIndex +'-font-awesome').lobiPanel({
					reload: {
						icon: 'fa fa-refresh'
					},
					editTitle: {
						icon: 'fa fa-edit',
						icon2: 'fa fa-save'
					},
					unpin: {
						icon: 'fa fa-arrows'
					},
					minimize: {
						icon: 'fa fa-chevron-up',
						icon2: 'fa fa-chevron-down'
					},
					close: {
						icon: 'fa fa-times-circle'
					},
					expand: {
						icon: 'fa fa-expand',
						icon2: 'fa fa-compress'
					}
				});
				$('#lobipanel-org_chart-'+ subIndex +'-constrain-size').lobiPanel({
					minWidth: 300,
					minHeight: 300,
					maxWidth: 600,
					maxHeight: 480
				});
								
				 $('#lobipanel-multiple-org_chart-' + subIndex).find('.panel').lobiPanel({
					reload:false,
					unpin:false,
					editTitle:false,
					expand:false,
					sortable: false,
				});
			});
		});